{% extends "templates/base.html" %}

{% block content %}
  {% for gallery in galleries %}
    <div class="thumbnail">
      <a href="{{context}}/gallery/{{gallery.userid}}">
        <img src="{{context}}/img/{{gallery.userid}}/{{thumb-prefix}}{{gallery.name}}">
        {{gallery.userid}}'s gallery
      </a>
    </div>
  {% endfor %}
{% endblock %}